-
Home
-
ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF
-
5.0.0
-
Code
-
Classes
- OptimizeController
Total Complexity |
135 |
Dependencies |
13 |
Dependents |
11 |
Total lines |
1,012 |
Lines of code |
681 |
Logical lines of code |
427 |
Comment lines |
139 |
Methods |
23 |
Properties |
2 |
Methods 23
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
handleAPIResult() |
D |
25 |
26 |
187 |
calculateStatsTotals() |
C |
40 |
25 |
60 |
queueToJson() |
A |
48 |
9 |
34 |
restoreItem() |
A |
41 |
7 |
57 |
sendToProcessing() |
A |
46 |
8 |
42 |
thumbnailsChangedHook() |
A |
49 |
8 |
30 |
numberFormatStats() |
A |
51 |
8 |
29 |
addItemToQueue() |
A |
42 |
6 |
58 |
getQueue() |
S |
53 |
6 |
24 |
processQueue() |
S |
48 |
5 |
35 |
runTick() |
S |
57 |
4 |
16 |
checkQueueClean() |
S |
64 |
5 |
10 |
convertPNG() |
S |
55 |
3 |
20 |
HandleItemError() |
S |
58 |
2 |
14 |
reOptimizeItem() |
S |
62 |
2 |
11 |
resetQueues() |
S |
66 |
2 |
8 |
uninstallPlugin() |
S |
66 |
2 |
8 |
isItemInQueue() |
S |
65 |
2 |
9 |
getStartupData() |
S |
61 |
1 |
13 |
getAPI() |
S |
81 |
1 |
3 |
getJsonResponse() |
S |
68 |
1 |
8 |
setBulk() |
S |
81 |
1 |
3 |
__construct() |
S |
91 |
1 |
2 |